STEP 5: One more random number, and then we're done!

  • In , drag in Random Integer one more time.
  • Adjust the range of possible random numbers by changing 1 to 50 and 10 to 300.
  • Rename the variable from my_var to height.

Note: The range for our height is different because we don't want our buildings too big!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)